package refactoringtofuturetask.ui;

import org.eclipse.jdt.internal.ui.refactoring.code.ExtractMethodInputPage;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.ui.refactoring.RefactoringWizard;

import refactoringtofuturetask.refactorings.ConvertToFutureTaskRefactoring;

public class ConvertToFutureTaskWizard extends RefactoringWizard {
	static final String DIALOG_SETTING_SECTION= "ConvertToFutureTaskWizard";
	
	public ConvertToFutureTaskWizard(Refactoring refactoring, int flags) {
		super(refactoring, flags);
		// TODO Auto-generated constructor stub
	}

	public ConvertToFutureTaskWizard(
			ConvertToFutureTaskRefactoring refactoring, String string) {
		super(refactoring, DIALOG_BASED_USER_INTERFACE | PREVIEW_EXPAND_FIRST_NODE);
		setDefaultPageTitle(string);
	}

	@Override
	protected void addUserInputPages() {
		addPage(new ConvertToFutureTaskInputPage());
	}
}
